import React from "react";
export default function Content({ isFold, children }) {
  return (
    <div
      className="mt-[80px] rounded-[8px] bg-container p-[10px] min-h-[calc(100vh - 80px)]"
      style={{
        minHeight: "calc(100vh - 80px)",
        marginLeft: isFold ? 112 : 280,
        transition: "all 200ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
      }}
    >
      <div className="p-[10px] bg-white">{children}</div>
    </div>
  );
}
